﻿namespace Home.Services.SecurityService
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    public class LoginResult
    {
        public bool IsLoggedIn
        {
            get { return !string.IsNullOrEmpty(this.Name) && !string.IsNullOrEmpty(this.Role); }
        }

        public string Name { get; set; }

        public string Role { get; set; }
    }
}